package com.tangyuan.userauth.controller;

import com.tangyuan.common.result.Result;
import com.tangyuan.userauth.service.IUserLikeCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/loginUser")
public class UserLikeCateGoryController {

    @Autowired
    private IUserLikeCategoryService UserLikeCateGoryService;
    @GetMapping("/getUserLikeCateGory")
    public Result getUserLikeCateGory() {
        return Result.ok(UserLikeCateGoryService.getUserLikeCateGory());

    }
}
